package com.kaili.basic.pojo.entity;

import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;
import com.kaili.common.pojo.entity.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @Desc: 告警表
 * @author: jianfeng
 * @Time: 2019/7/24 13:15
 * @Copyright: © 2018 杭州凯立通信有限公司 版权所有
 * @Warning: 本内容仅限于公司内部传阅, 禁止外泄或用于其它商业目的
 */
@Data
@ApiModel(description = "告警表")
@TableName("mdm_alarm")
public class MdmAlarmEntity extends BaseEntity {

    @ApiModelProperty("主键id")
    @TableId(type = IdType.AUTO)
    private Long id;

    @ApiModelProperty("告警名称")
    private String alarmName;

    @ApiModelProperty("告警值：只有版本、电量、内存、cpu、离线才有告警值")
    private String alarmValue;

    @ApiModelProperty("区id")
    private Long countyId;

    @ApiModelProperty("详细地址")
    private String detailedAddress;

    @ApiModelProperty("经度")
    private Double longitude;

    @ApiModelProperty("纬度")
    private Double latitude;

    @ApiModelProperty("围栏半径")
    private Double radius;

    @ApiModelProperty("告警规则是否开启：0关闭，1开启")
    private Integer isOn;

    @ApiModelProperty("0未推送，1推送")
    private Integer isPush;

    @ApiModelProperty("数据状态：0删除，1正常")
    private Integer rdStatus;

}
